﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SetUsers.aspx.cs" Inherits="PlugNT.Cms.Web.Admin.Pre_Global.SetUsers" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>网站基本信息设置</title>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
<script src="../js/jquery.js" type="text/javascript" ></script>
<script type="text/javascript" >
    $(function () {
        $("#ddlUsersencryptway").change(function () {
            //$("#ddlUsersencryptway").val();
        });
    });
</script>
</head>
<body>

<div class="frmstatic" style="display:block">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="controls">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align"left">
                <table>
                    <tr>
                        <td><img src="../images/maintenance_32x32.gif" width="16" height="16" /></td>
                        <td><label>设置 > 网站配置</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <span>操作 > </span>
                <a href='javascript:window.history.back();'>返回</a>   
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>
    
    
<div class="frmstatic" style="display:block">
 <table width="100%" border="0" cellpadding="10" cellspacing="0">
   <tr valign="top">
    <td valign="top">


    <form id="form1" runat="server">

     <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#d2e6fa">
       <tr valign="top">
        <td valign="top">
            
          <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">
            

            <tr>
               <td colspan="2">
                <table cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">
                    <tr>
                        <td width="137" style=" border:1px solid #d2e6fa; text-align:center;">
                         <a href="./Config.aspx">基本设置</a>     
                        </td>
                        <td width="137" style=" border:1px solid #d2e6fa; text-align:center;">
                         <a href="./SetPayment.aspx">支付配置</a>  
                        </td>
                        <td width="137" style=" background-color:#d2e6fa; text-align:center;">
                         <span>用户接口</span>       
                        </td>
                        <td width="137" style=" border:1px solid #d2e6fa; text-align:center;">
                         <a href="./SetCommentfilter.aspx">评论过滤</a>                        
                        </td>
                        <td></td>
                    </tr>
                </table>
               </td>
            </tr>

            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">用户表名:</td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUserstablename" CssClass="input" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    编号字段名:
                </td>
                <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUsersidname" CssClass="input" runat="server"></asp:TextBox>             
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    用户字段名:
                </td>
                <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUsersusername" CssClass="input" runat="server"></asp:TextBox>
                    (如需绑定其他表可以直接绑定到用户名字段) 
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    密码字段名:
                </td>
                <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUserspassname" CssClass="input" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    密码加密类型:
                </td>
                <td bgcolor="#F4FBFF">
                    <asp:DropDownList ID="ddlUsersencryptway" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    密码加密接口:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUsersencryptinterface" CssClass="input" runat="server" Width="380px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    后台查询字段:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUsersselectfields" CssClass="input" runat="server" TextMode="MultiLine" Width="100%" Height="80px"></asp:TextBox>
                    提示：多个字段名可以用“,”分开“*”表示全部
                </td>
            </tr>
            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    锁定用户:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUserslockeds" CssClass="input" runat="server" TextMode="MultiLine" Width="100%" Height="80px"></asp:TextBox>
                    提示：多个用户名可以用“,”分开
                </td>
            </tr>
            
            <tr>
              <td bgcolor="#F4FBFF">&nbsp;</td>
              <td bgcolor="#F4FBFF">
                <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnTableUpdate" runat="server"  
                      Text="用户表配置" onclick="btnTableUpdate_Click"  />
              </td>
            </tr>

            <tr><td colspan="2">&nbsp;</td></tr>

            <tr>
                <td width="145" bgcolor="#F4FBFF" align="right">
                    后台操作html代码:
                </td>
                 <td bgcolor="#F4FBFF">
                    <asp:TextBox ID="txtUsersadminhtml" CssClass="input" runat="server" TextMode="MultiLine" Width="100%" Height="380px"></asp:TextBox>
                    提示：nam_field表示所有在html中元素命名为“nam_”加字段名<br />
                    示例：&lt;name=&quot;nam_sex&quot;  type=&quot;text&quot; value=&quot;integer&quot;  /&gt;
                </td>
            </tr>
            
            <tr>
              <td bgcolor="#F4FBFF">&nbsp;</td>
              <td bgcolor="#F4FBFF">
                <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnHtmlUpdate" runat="server"  
                      Text="后台代码配置" onclick="btnHtmlUpdate_Click"  />
              </td>
            </tr>

        
          </table>
          
        </td>
      </tr>
     </table>
         
    </form>


    </td>
  </tr>
 </table>
</div>
</body>
</html>
